package com.smmisia.article.request;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class MessageRequest {

    @NotBlank(message = "消息内容不能为空")
    private String content;

    @NotNull(message = "订阅者id不能为空")
    private Integer userId;
}
